package com.lczc.soa.service;

import com.lczc.soa.domain.SearchStreetResponse;
import com.lczc.soa.domain.Street;

import java.util.List;


public interface StreetService {
    int saveStreet(Street street);

    SearchStreetResponse findAllStreet(Integer pageNum, Integer pageSize);

    SearchStreetResponse findStreetLikeName(String keywords, Integer pageNum, Integer pageSize);

    Street findStreetByPrimaryKey(String id);

    int deleteStreet(String id);

    List<Street> listStreet();

    List<Street> findStreetByArea(String id);

    Street findStreetByDoor(String id);
}
